Hands On: Creating a Web Reporting Site

In this example, you will create a very simple Web Reporting site. This will demonstrate how to quickly and easily add report access to web pages and allow you to see what reports will look like in your browser.

Before you begin

Confirm that you have installed all of the Seagate Crystal Reports Web Reporting components on your computer. For a complete list of components and paths see Appendix A of this guide. Also confirm that you have a web browser such as Microsoft Internet Explorer, Netscape Navigator, or Mosaic installed on your computer. You will also need a text editor (NOTEPAD.EXE) or word processor cable of saving text files  installed on your computer.

Step by step

1 Open your text editor or word processor and create a new, empty text file.
2 Type in the following HTML code: (Replace SERVERNAME with the name of your web server).

<HTML>
<TITLE>Web Reporting Test</TITLE>

<BODY>
To view Sales by Model please
<B><A HREF="http://SERVERNAME/scrreports/Xtreme/wwsales.rpt">
Click Here</A></B>
</BODY>

</HTML>

You have now created a web page with a link to the WWSALES.RPT sample file. This link could be changed to reference any report file your server can access.
3 Save the file as WEBTEST.HTML. If you are using a word processor, you may have to explicitly save the file in "text only" format.
4 In Windows, locate and double-click the WEBTEST.HTML file you just created. Your web browser will then open and display the test page.
5 Click the "Click Here" hyperlink. The browser will then retrieve the report file and appropriate Smart Viewer.  If your browser supports ActiveX or Java, you will see a window similar to the following:

Browsers not supporting ActiveX or Java will display reports in either Frame or Plain HTML format. The display format for these types of browsers is slightly different than shown in the example above due to limitations in these types of browsers.
6 Try using the Group Tree or Smart Navigation buttons shown above to navigate around the report. Double-click one of the segments on the pie graph to drill down for even more detail.

For the latest information about this product, please visit the web site at www.seagatesoftware.com/crystalreports.

Copyright ⌐ 1998 Seagate Software Inc. All rights reserved. Click here for additional information.